using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Semantics.Silverlight
{
    public partial class ParseResult
    {
        public enum EnumResultState
        {
            None,
            Success,
            Failed,
            Ambiguities,
            Exception
        }
        public EnumResultState ResultState;
        public LanguageNode ResultLangNode;
        public Ambiguity Ambiguity;
        public ParseResult()
        {
            Ambiguity = new Ambiguity();
            ResultLangNode = new LanguageNode();
            ResultState = new EnumResultState();
        }
        public string Exception;
    }
}
